Skip to content

Conversation

chiefcll
Copy link
Contributor

These are never undefined, they are set to false by default making this always return false

These are never undefined, they are set to false by default making this always return false
@wouterlucas
Copy link
Contributor

Tests seems to disagree - either there is an implicit assumption somewhere, or the type definition is off.

@chiefcll
Copy link
Contributor Author

You're welcome to look into it -
public parentHasRenderTexture = false;
rtt: false,

Probably both are off - essentially no Ops are being reused, this change will make some be reused. Might be faster / easier to just not check and always create new render ops - but it's leading to high GC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants